<!DOCTYPE html>

<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    
    
    
    @Html.DevExpress().GetStyleSheets( 
    new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout }, 
    new StyleSheet { ExtensionSuite = ExtensionSuite.Editors }, 
    new StyleSheet { ExtensionSuite = ExtensionSuite.HtmlEditor }, 
    new StyleSheet { ExtensionSuite = ExtensionSuite.GridView }, 
    new StyleSheet { ExtensionSuite = ExtensionSuite.PivotGrid },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Chart },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Report },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Scheduler },
    new StyleSheet { ExtensionSuite = ExtensionSuite.TreeList },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Spreadsheet }
)
@Html.DevExpress().GetScripts( 
    new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout }, 
    new Script { ExtensionSuite = ExtensionSuite.HtmlEditor }, 
    new Script { ExtensionSuite = ExtensionSuite.GridView }, 
    new Script { ExtensionSuite = ExtensionSuite.PivotGrid },
    new Script { ExtensionSuite = ExtensionSuite.Editors }, 
    new Script { ExtensionSuite = ExtensionSuite.Chart },
    new Script { ExtensionSuite = ExtensionSuite.Report },
    new Script { ExtensionSuite = ExtensionSuite.Scheduler },
    new Script { ExtensionSuite = ExtensionSuite.TreeList },
    new Script { ExtensionSuite = ExtensionSuite.Spreadsheet }
)
</head>
    <body>
        <script type="text/javascript">
            MyComponents = new Object();
            MyComponents.Settings = new Object();
        </script>
        <script src="~/Functions/Index/rest_functions.js"></script>
        @Html.DevExpress().Splitter(settings => {
                                                    settings.Name = "MainSplitter";
                                                    settings.AllowResize = false;
                                                    settings.Orientation = System.Web.UI.WebControls.Orientation.Vertical;
                                                    settings.FullscreenMode = true;
                                                    settings.SeparatorVisible = false;
                                                    settings.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
                                                    settings.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);

                                                    settings.Panes.Add(pane => {
                                                                                   pane.Name = "Header";
                                                                                   pane.Size = ASPxWebControl.GlobalTheme == "Moderno" ? 95 : 83;
                                                                                   pane.MinSize = ASPxWebControl.GlobalTheme == "Moderno" ? 95 : 83;
                                                                                   pane.PaneStyle.BorderBottom.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
                                                                                   pane.PaneStyle.CssClass = "headerPane";
                                                                                   pane.SetContent(() => {
                                                                                                             Html.RenderPartial("HeaderPartialView");
                                                                                   });
                                                    });

                                                    settings.Panes.Add(pane => {
                                                                                   pane.Name = "Content";
                                                                                   pane.PaneStyle.CssClass = "mainContentPane";
                                                                                   pane.MinSize = System.Web.UI.WebControls.Unit.Pixel(375);
                                                                                   pane.PaneStyle.BackColor = System.Drawing.Color.White;
                                                                                   pane.PaneStyle.BorderBottom.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
                                                                                   pane.SetContent(RenderBody().ToHtmlString());
                                                    });

                                                    //settings.Panes.Add(pane => {
                                                    //                               pane.Name = "Footer";
                                                    //                               pane.Size = System.Web.UI.WebControls.Unit.Pixel(125);
                                                    //                               pane.PaneStyle.CssClass = "footerPane";
                                                    //                               pane.SetContent(() => {
                                                    //                                                         Html.RenderPartial("FooterPartialView");
                                                    //                               });
                                                    //});
        }).GetHtml()
    </body>
</html>